package com.wceManage.services.exception;

import com.wceManage.commons.exception.AbstractException;
import com.wceManage.services.exception.msg.UserErrorMsg;

/**
 * UserException
 * 用户类异常
 *
 */
public class UserException extends AbstractException {


    private static final long serialVersionUID = -2344605145208735919L;

    public UserException(int code, String msg) {
        super(code, msg);
    }

    public UserException(UserErrorMsg msg) {
        super(msg.getCode(), msg.getMsg());
    }

}
